package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import com.cssy.xxkj.logic.entity.LogicProductionDispatchingDetailItemDO;

/**
 * 数据访问对象接口
 * @since 2014-09-28
 */
public interface LogicProdDispatchingDetailItemDAO extends LogicBizDAO<LogicProductionDispatchingDetailItemDO> {

    /**
     * 插入数据
     * @param logicProductionDispatchingDetailItemDO
     * @return 插入数据的主键
     */
    public String insertLogicProductionDispatchingDetailItemDO(LogicProductionDispatchingDetailItemDO logicProductionDispatchingDetailItemDO);

    /**
     * 统计记录数
     * @param logicProductionDispatchingDetailItemDO
     * @return 查出的记录数
     */
    public Integer countLogicProductionDispatchingDetailItemDOByExample(LogicProductionDispatchingDetailItemDO logicProductionDispatchingDetailItemDO);

    /**
     * 更新记录
     * @param logicProductionDispatchingDetailItemDO
     * @return 受影响的行数
     */
    public Integer updateLogicProductionDispatchingDetailItemDO(LogicProductionDispatchingDetailItemDO logicProductionDispatchingDetailItemDO);

    /**
     * 获取对象列表
     * @param logicProductionDispatchingDetailItemDO
     * @return 对象列表
     */
    public List<LogicProductionDispatchingDetailItemDO> findListByExample(LogicProductionDispatchingDetailItemDO logicProductionDispatchingDetailItemDO);

    
    public List<LogicProductionDispatchingDetailItemDO> findListByMap(Map<String, Object> paramMap);
    
    /**
     * 根据主键获取logicProductionDispatchingItemDO
     * @param id
     * @return logicProductionDispatchingDetailItemDO
     */
    public LogicProductionDispatchingDetailItemDO findLogicProductionDispatchingDetailItemDOByPrimaryKey(String id);

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicProductionDispatchingDetailItemDOByPrimaryKey(String id);
    
    /**
     * 根据主表ID删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteDispatId(String id);

}